package controllers;

import connectivity.Dbmanager;
import connectivity.QueryManager;
import java.io.*;
import java.util.LinkedList;
import java.util.List;
import javax.servlet.*;
import javax.servlet.http.*;
import models.User;
import models.Course;

public class AddSelftestquestionController extends HttpServlet {

    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {

        if (request.getParameter("moduleid") != null) {

            request.setAttribute("moduleid", request.getParameter("moduleid"));

            RequestDispatcher dispatcher = request.getRequestDispatcher("/new_selftest_question.jsp");
            dispatcher.forward(request, response);
        }
    }
}
